<?php /* Smarty version 2.6.25, created on 2011-03-18 10:04:29
         compiled from complaint/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'complaint/index.tpl', 3, false),array('modifier', 'cat', 'complaint/index.tpl', 7, false),array('modifier', 'is_array', 'complaint/index.tpl', 34, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => './div/div_html_head_info.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php echo smarty_function_config_load(array('file' => "smarty_vars.conf"), $this);?>


<body>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_config[0]['vars']['div_path'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'div_pre_header.tpl') : smarty_modifier_cat($_tmp, 'div_pre_header.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div class="container">

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_config[0]['vars']['div_path'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'div_header.tpl') : smarty_modifier_cat($_tmp, 'div_header.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_config[0]['vars']['div_path'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'div_nav.tpl') : smarty_modifier_cat($_tmp, 'div_nav.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


<div class="span-16">

<!---用户交流牢骚的模块-->
<div id="complaint">

<!--用户提交新的牢骚内容-->
<div id="complaint_input">
<form action="./do_post_new_complaint.php" method="post">
	<lable for="content"><b>我说:</b><span class="word_count right">(还能说140个字)</span></lable><br />
	<textarea name="content" rows="3"></textarea><br />
	<input type="submit" class="right"  value="推他"/>
</form>
</div>

<!--以往的抱怨及其回复-->
<div id="past_complaint">

<!--读取用户信息-->
<?php if (is_array($this->_tpl_vars['complaints'])): ?>
	<?php $_from = $this->_tpl_vars['complaints']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['complaint']):
?>
	 
	<!--显示的一条过去的牢骚信息-->
	<div class="complaint_record">
		 <!---用户头像-->
		<div class="head_img left">
			<img src="<?php echo $this->_tpl_vars['user_info']['head_url_small']; ?>
" />
		</div>
		<!--作者昵称及内容-->
		<div>
		<span class="author">
			<a href="#"><?php echo $this->_tpl_vars['user_info']['nick']; ?>
</a>
		</span>
			<span class="content"><?php echo $this->_tpl_vars['complaint']['content']; ?>
</span>
		</div>
		<!--其他信息及回复-->
		<p class="stamp">
			<span class="time"><?php echo $this->_tpl_vars['complaint']['time']; ?>
</span>
			<span class="method"><?php echo $this->_tpl_vars['complaint']['method']; ?>
</span>
			<span class="reply"><a href="#">回应这条消息</a> (已有3条回应)</span>
		</p>
	</div>
	 	 
	<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>

</div>

</div>


</div>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=$this->_config[0]['vars']['div_path'])) ? $this->_run_mod_handler('cat', true, $_tmp, 'div_footer.tpl') : smarty_modifier_cat($_tmp, 'div_footer.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

</div>
</body>
</html>
